package Scene4;

import Scnen3.Scene3;

import javax.swing.*;
import java.awt.*;

public class AnimalPanel3 extends JPanel {
    Scene3 scene3 = new Scene3();
    Scene4 scene = new Scene4();
    public void resize(JFrame frame){
        frame.setSize(1536,1110);
    }
    public void paint(Graphics g){
        g.drawImage(scene.map.get("bg"), 0, 0, null);

        g.drawImage(scene3.map.get("提示框"), 700, 200, null);
        g.drawImage(scene3.map.get("1"),920,450,null);
        g.drawImage(scene3.map.get("2"),850,550,null);
        g.drawImage(scene3.map.get("3"),940,750,null);
        g.drawImage(scene3.map.get("4"),750,850,null);
        g.drawImage(scene3.map.get("log"),800,400,null);
        g.drawImage(scene3.map.get("log"),800,700,null);
        g.drawImage(scene3.map.get("button"),900,1030,null);
        g.drawImage(scene3.map.get("begin"),910,1040,null);
        g.drawImage(scene3.map.get("dec1"),700,350,null);
        g.drawImage(scene3.map.get("dec2"),700,400,null);
        g.drawImage(scene3.map.get("dec1"),700,500,null);
        g.drawImage(scene3.map.get("dec2"),700,600,null);
        g.drawImage(scene3.map.get("dec1"),700,650,null);
        g.drawImage(scene3.map.get("dec2"),700,800,null);
        g.drawImage(scene3.map.get("dec1"),700,800,null);
        g.drawImage(scene3.map.get("dec1"),700,950,null);
        g.drawImage(scene3.map.get("dec2"),700,1000,null);


        g.drawImage(scene3.map.get("dec1-"),1280,350,null);
        g.drawImage(scene3.map.get("dec2-"),1280,400,null);
        g.drawImage(scene3.map.get("dec1-"),1280,500,null);
        g.drawImage(scene3.map.get("dec2-"),1280,600,null);
        g.drawImage(scene3.map.get("dec1-"),1280,650,null);
        g.drawImage(scene3.map.get("dec2-"),1280,800,null);
        g.drawImage(scene3.map.get("dec1-"),1280,800,null);
        g.drawImage(scene3.map.get("dec1-"),1280,950,null);
        g.drawImage(scene3.map.get("dec2-"),1280,1000,null);
    }
}
